home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
misc
/
sci
/
dproc126.lha
/
demo
/
v350lin.tst
< prev
next >
Wrap
Text File
|
1993-02-26
|
2KB
|
123 lines
#dsize 40
#columns %f %f %f %f %f %f
#queue 1 nu snu ua sua amp samp
#math v:=1010/2.98
; nehmen 1% Fehler an
#math sv:=v*rt2/100
#build gt 'Verst"arkung: $%f4\\pm%f2$' v sv
#globtitle gt
#title nu "$\nu$"
#unit nu "Hz"
#title snu "$s_\nu$"
#unit snu "Hz"
#title ua "U$_A$"
#unit ua V
#title sua "$s_{U_A}$"
#unit sua V
#title amp "V'"
#rtitle amp "V'($\nu$)"
#gtitle amp "Messung"
#title samp "$s_{V'}$"
#math ue:=0.023
#math sue:=0.5*milli
#func ua2amp f(u):=u/ue
#func sua2samp g(amp,u,su):=amp*sqrt((su/u)^2+sqr(sue/ue))
#make amp ua2amp ua
#make samp sua2samp amp ua sua
! OK, Let's data
#using nu snu ua sua
#prec 0 2
#prec amp 3
#prec nu 5
109.45/0.05/7.4/0.2
211.1//7.3
414.65//7.2
619//7
825.5/0.5/6.7
1090.9//6.4
1395.5//6.0
1739.2//5.5
2098.4//5.0
2476/1/4.5
2948//4
3495//3.5
#mark gerade
4615/2/3/0.15
5597/3/2.5
7047//2
9363//1.5
14978//1/0.03
18415//0.8
24194/5/0.6
28460//0.5
! go on -- regress
#applog "lintst.log"
#build control "Start bei %d" gerade
#logpost control
#logreg 3 nu amp 0 gerade
! compute vg
#math vg:=(v/rt2*10^DPB)^(1/DPA)
#math lvg:=vg*ln(vg)
#math svg:=sqrt((lvg*(DPSA/a)^2+(DPSB/b)^2)+(vg*sv/v)^2)
#build vgstr "Grenzfrequenz: %f4 +/- %f2" vg svg
#post vgstr
#math svgv:=vg*v*sqrt((svg/vg)^2+(sv/v)^2)
#build vconst "vg*V': %f4 +/- %f2" "vg*v" svgv
#post vconst
#logpost vconst
#logpost vgstr
#logpost gt
! tag it
#tagfile "valllin.tag" v350
#build results "%f/%f/%f/%f/%f/%f" v sv vg svg v*vg svgv
#tagpost results
#tagfile "reglin.tag" v350
#build regs "%f/%f/%f/%f" v sv DPA DPSA
#tagpost regs
! and genarate some output
#term gnuplot
#set logscale xy
#storeset yrange 10:1000
#if eepic
#set output v350lin.eep
#endif
#ocol nu amp samp
#write "v350lin.dta" "v350lin.gnu"
#term latex
#set Corr
#set floathead
#set caption v350lin
#ocol nu snu ua sua amp samp
#write "v350lin.tab"
#post gt
! *** DONE ***
#flushset